/**
 * Project domain class.
 */
class Project extends Catalog {
    Integer nextIssueNumber = 1
    SortedSet<Issue> issues

    static hasMany = [issues: Issue]

    static constraints = {
        nextIssueNumber(blank: false)
    }
}
